TetheringDomain

class TetheringDomain : Domain

The Tethering domain defines methods and events for browser port binding.

This API is marked as experimental in protocol definition and can change in the future.

Functions

accepted
Link copied to clipboard
fun accepted(): Flowable<AcceptedEvent>
Informs that port was successfully bound and got a specified connection id.
bind
Link copied to clipboard
fun bind(input: BindRequest): Single<RequestResponseFrame>
Request browser port binding.
description
Link copied to clipboard
fun description(): String
Returns domain description.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.
unbind
Link copied to clipboard
fun unbind(input: UnbindRequest): Single<RequestResponseFrame>
Request browser port unbinding.

Sources

jvm source
Link copied to clipboard